package com.csylh.dao;

import com.csylh.entity.OrderDetail;
import com.csylh.entity.OrderMaster;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by 留歌
 * Date: 2018/3/13 0:07
 * Description:
 */
@Mapper
public interface OrderDetailMapper {

    /**
     * 订单详情信息入库
     * @param orderDetail
     * @return
     */
    int save(OrderDetail orderDetail);
    /**
     * 根据orderID查询,订单表的信息
     * @param orderId
     * @return
     */
    List<OrderDetail> selectDetailById(String orderId);
}

